package com.ruoyi.system.service.impl;

import java.util.Collections;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.OrderrMapper;
import com.ruoyi.system.domain.Orderr;
import com.ruoyi.system.service.IOrderrService;

/**
 * 测试Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-12-11
 */
@Service
public class OrderrServiceImpl implements IOrderrService 
{
    @Autowired
    private OrderrMapper orderrMapper;

    /**
     * 查询测试
     * 
     * @param recordId 测试主键
     * @return 测试
     */
    @Override
    public Orderr selectOrderrByRecordId(Long recordId)
    {
        return orderrMapper.selectOrderrByRecordId(recordId);
    }

    /**
     * 查询测试列表
     * 
     * @param orderr 测试
     * @return 测试
     */
    @Override
    public List<Orderr> selectOrderrList(Orderr orderr)
    {
        return orderrMapper.selectOrderrList(orderr);
    }

    /**
     * 新增测试
     * 
     * @param orderr 测试
     * @return 结果
     */
    @Override
    public int insertOrderr(Orderr orderr)
    {
        return orderrMapper.insertOrderr(orderr);
    }

    /**
     * 修改测试
     * 
     * @param orderr 测试
     * @return 结果
     */
    @Override
    public int updateOrderr(Orderr orderr)
    {
        return orderrMapper.updateOrderr(orderr);
    }

    /**
     * 批量删除测试
     * 
     * @param recordIds 需要删除的测试主键
     * @return 结果
     */
    @Override
    public int deleteOrderrByRecordIds(Long[] recordIds)
    {
        return orderrMapper.deleteOrderrByRecordIds(recordIds);
    }

    /**
     * 删除测试信息
     * 
     * @param recordId 测试主键
     * @return 结果
     */
    @Override
    public int deleteOrderrByRecordId(Long recordId)
    {
        return orderrMapper.deleteOrderrByRecordId(recordId);
    }

    @Override
    public Map countOrderrTime(String recordTime) {
        return orderrMapper.countOrderTime(recordTime);
    }

    @Override
    public List<Map> countOrderrSource(String recordDate) {
        return orderrMapper.countOrderSource(recordDate);
    }

    @Override
    public List<Map> countOrderrSource1(String recordDate1) {
        return orderrMapper.countOrderSource1(recordDate1);
    }

    @Override
    public List<Map> countOrderr() {
        return orderrMapper.countOrder();
    }

    @Override
    public List<Map> tomorrow() {
        return orderrMapper.tomorrow();
    }

    @Override
    public List<Map> viptype(){
        return orderrMapper.vipType();
    }

    @Override
    public int ynMoney() {
        return orderrMapper.ynMoney();
    }

    @Override
    public List<Map> ordesourceT() {
        return orderrMapper.ordeSourceT();
    }

    @Override
    public int ordestatus2() {
        return orderrMapper.ordestatus2();
    }

    @Override
    public int ordestatusall() {
        return orderrMapper.ordestatusall();
    }

    @Override
    public int endTIme() {
        return orderrMapper.vipEndtime();
    }

    @Override
    public int tousu() {
        return orderrMapper.tousu();
    }
}
